package cn.glutnn.subject.domain.convert;

import cn.glutnn.subject.domain.enyity.SubjectCategoryBO;
import cn.glutnn.subject.infra.basic.entity.SubjectCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


/**
 * Author:   msh
 * Date:     2024/11/21 上午11:34
 * Description:
 */
@Mapper
public interface SubjectCategoryConverter {
    SubjectCategoryConverter INSTANCE = Mappers.getMapper(SubjectCategoryConverter.class);

    SubjectCategory convertBoToCategory(SubjectCategoryBO subjectCategoryBO);

    List<SubjectCategoryBO> convertCategoryListToBoList(List<SubjectCategory> subjectCategoryList);
}
